package com.vhall.component.entity.anchormanage.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author guoxin.wang
 * @date 2021/10/13
 */
@Data
public class AnchorManageConsoleUpdateReqVO implements Serializable {

    private static final long serialVersionUID = 4405364809362777888L;

    /**
     * anchor_id 主播id
     */
    @NotNull(message = "anchor_id参数不允许为空！")
    @ParamName("anchor_id")
    private Integer anchor_id;

    /**
     * nickname
     */
    @NotBlank(message = "nickname参数不允许为空！")
    @ParamName("nickname")
    private String nickName;

    /**
     * 姓名
     */
    @NotBlank(message = "real_name参数不允许为空！")
    @ParamName("real_name")
    private String realName;

    /**
     * 头像地址
     */
    @NotBlank(message = "avatar参数不允许为空！")
    @ParamName("avatar")
    private String avatar;

}
